package com.tc.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by cai.tian on 2017/12/11.
 */
//@JsonInclude(Include.NON_EMPTY)
public class RestApiError {
    /**
     * The http status code
     */
    @Getter
    @Setter
    private int statusCode;

    /**
     * The localized message for end-user
     */
    @Getter
    @Setter
    private String message;

    /**
     * Raw error message for debugging purposes, always as exception's message
     */
    @Getter
    @Setter
    private String rawMessage;

    /**
     * Validation error
     */
    @Getter
    @Setter
    private ValidationError validationError;

    /**
     * Typically a link to a document where more information can be accesses
     */
    @Getter
    @Setter
    private String moreInfo;
}
